const {
    Schema,
    model
} = require('mongoose');

const salesmansSchema = new Schema({
    userName: String,
    password: String,
    phone: String,
}, {
    versionKey: false
});

const Salesmans = model('Salesmans', salesmansSchema, 'salesmans');
module.exports.Salesmans = Salesmans;